package com.haima.ziliao.domain;

import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haima.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haima.common.core.domain.BaseEntity;

/**
 * 广告管理对象 p_ads
 * 
 * @author hima
 * @date 2025-01-07
 */
public class PAds implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 广告页面 */
    @Excel(name = "广告页面")
    private String page;

    /** 广告ID */
    @Excel(name = "广告ID")
    @TableField(value = "adId")
    private String adId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPage(String page) 
    {
        this.page = page;
    }

    public String getPage() 
    {
        return page;
    }
    public void setAdId(String adId) 
    {
        this.adId = adId;
    }

    public String getAdId() 
    {
        return adId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("page", getPage())
            .append("adId", getAdId())
            .toString();
    }
}
